﻿/*
 *  Author: Louis A. Leskoviansky
 *  Company: Artemis Solutions Group (http://www.artemis-solutions.com)
 */


using System;
using System.Collections.Generic;
using System.Text;

namespace AjaxControlFramework
{
    [AttributeUsage(AttributeTargets.Method)]
    public class AjaxControlMethodAttribute : Attribute
    {
        //------// Properties \\--------------------------------------------\\
        private bool? _enableControlState = null;
        public virtual bool? EnableControlState
        {
            get { return _enableControlState; }
            set { _enableControlState = value; }
        }
        //------\\ Properties //--------------------------------------------//



        //------// Constructors \\------------------------------------------\\
        public AjaxControlMethodAttribute() { }

        public AjaxControlMethodAttribute(bool enableControlState)
        {
            EnableControlState = enableControlState;
        }
        //------\\ Constructors //------------------------------------------//



        //------// Methods \\-----------------------------------------------\\

        //------\\ Methods //-----------------------------------------------//
    }
}
